import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false
App.mpType = 'app'

const app = new Vue(App)

app.$mount()

export default {
     // 这个字段走 app.json
    config: {
        // 页面前带有 ^ 符号的，会被编译成首页，其他页面可以选填，我们会自动把 webpack entry 里面的入口页面加进去
        pages: ['^pages/books/main'],
        window: {
            "navigationBarBackgroundColor": "#f94700",
            "navigationBarTextStyle": "white",
            "navigationBarTitleText": "橘猫图书馆",
            "backgroundColor": "#f94700",
            "backgroundTextStyle": "light"
        },
        tabBar: {
            "selectedColor": "#f94700",
            "list": [
                {
                    iconPath: "./static/img/cat.png",
                    selectedIconPath: "./static/img/catActive.png",
                    pagePath: "pages/books/main",
                    text: "图书"
                },
                {
                    iconPath: "./static/img/catComment.png",
                    selectedIconPath: "./static/img/catCommentActive.png",
                    pagePath: "pages/comment/main",
                    text: "评论"
                },
                {
                    iconPath: "./static/img/catFinger.png",
                    selectedIconPath: "./static/img/catFingerActive.png",
                    pagePath: "pages/me/main",
                    text: "我"
                }
            ]
        }
    }
}